package com.zhongli.devplatform.mapper.operation;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zhongli.devplatform.po.teacher.ReadOperationPO;
import com.zhongli.devplatform.vo.teacher.OperationVO;
import com.zhongli.devplatform.vo.teacher.TeacherOperationVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author WuXiCheng
 * @version 1.0
 * @date 2020/7/23 10:12
 */
@Mapper
public interface ReadOperationMapper extends BaseMapper<ReadOperationPO> {
    List<OperationVO> getCurrentTeacherOperation(Integer currentUserId);

    List<TeacherOperationVO> getTeacherOperation(@Param("currentUserId") Integer currentUserId, @Param("status") Integer status);
}
